﻿using System;
using System.Collections.Generic;

namespace InteractiveFiction.Model
{
    /// <summary>
    /// A command for the Player Character derived from an interpretation of the input from the user.
    /// </summary>
    public class Command
    {
        public Verb _verb {get; private set;}
        public IEnumerator<Noun> _directObjects{get; private set;}
        public IEnumerator<Noun> _indirectObjects { get; private set; }

        public Command(Verb verb, IEnumerator<Noun> directObjects)
        {
            _verb = verb;
            _directObjects = directObjects;
        }

        public Command(Verb verb, IEnumerator<Noun> directObjects, IEnumerator<Noun> indirectObjects)
        {
            _verb = verb;
            _directObjects = directObjects;
            _indirectObjects = indirectObjects;
        }

    }
}
